package com.aerotechnic.dao.interfaces;

import java.util.List;

import com.aerotechnic.entities.Planning;

public interface PlanningDaoIn {
	
void save(Planning myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
    
    void update(Planning myEntity);
    
    void delete(int id);

    Planning findByID(int id);
    
    List<Planning> findAll();
    
    Planning getLastPlanning();

}
